package com.zhaoguang.car.service.impl;

import com.zhaoguang.car.entity.ShopInfo;
import com.zhaoguang.car.mapper.ShopInfoMapper;
import com.zhaoguang.car.service.ShopInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ShopInfoServiceImpl implements ShopInfoService {

    @Autowired
    ShopInfoMapper shopInfoMapper;


    @Override
    public int updateShopInfo(ShopInfo shop) {
        return shopInfoMapper.updateShopInfo(shop);
    }

    @Override
    public ShopInfo findShopInfo(int shopId) {
        return shopInfoMapper.findShopInfo(shopId);
    }
}
